package com.ydy.service;

import com.ydy.pojo.OrderStatus;
import com.ydy.pojo.bo.SubmitOrderBO;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

public interface OrderService {

    /**用于创建订单相关信息*/
    public String createOrder(SubmitOrderBO submitOrderBO);

    /**30s随机自动更新订单状态为已支付待发货*/
    void updateOrderStatus(String merchantOrderId);

    /**根据订单id查询订单状态*/
    public OrderStatus queryOrderStatusInfo(String orderId);
}
